import React from 'react';
import { Upload, message, Button } from 'antd';


class ImportInputContainer extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
    };
  }

  onClick() {
    // var workbook = XLSX.readFile('E:\\Project\\数据地图\\表设计模板.xlsm');
    // // 获取 Excel 中所有表名
    // const sheetNames = workbook.SheetNames; // 返回 ['sheet1', 'sheet2']
    //
    // console.log(sheetNames);
    // // 根据表名获取对应某张表
    // const worksheet = workbook.Sheets[sheetNames[0]];
    //
    // console.log(worksheet);
  }

  render() {

    return (
      <div>
          <Button type="ghost" onClick={this.onClick.bind(this)}>
            上传
          </Button>
      </div>

    );
  }
}

export default ImportInputContainer;
